<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-school" class="control-label col-xs-12 col-sm-3">{:__('学校')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-school" class="form-control" name="school" type="text" value="{$school.name}" data-rule="required" disabled>
        </div>
    </div>

    <div class="form-group">
        <label for="c-count" class="control-label col-xs-12 col-sm-3">{:__('课节数')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-count" class="form-control" name="row[count]" type="text" value="6" data-rule="required">
        </div>
    </div>

    <div class="form-group">
        <label for="c-start_time" class="control-label col-xs-12 col-sm-3">{:__('开始时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time" class="form-control datetimepicker" name="row[start_time]" type="text" value="08:00" data-rule="required">
        </div>
    </div>

    <div class="form-group">
        <label for="c-class_time" class="control-label col-xs-12 col-sm-3">{:__('课节时长（分钟）')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-class_time" class="form-control" name="row[class_time]" type="text" value="45" data-rule="required">
        </div>
    </div>

    <div class="form-group">
        <label for="c-break_time" class="control-label col-xs-12 col-sm-3">{:__('课间时长（分钟）')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-break_time" class="form-control" name="row[break_time]" type="text" value="10" data-rule="required">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-3"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
